package light.head.model.el;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
/**
 * 试卷模板明细
 */
@Entity
@Table
public class PaperTemplateItem implements Serializable{
	private static final long serialVersionUID = -5050914457102067886L;
	private Integer code;			// 流水号
	private Integer ttc;			// 题目模板编号
	private Byte type;				// (1.单选题 2.多选题 3.简答题)
	private Integer lc;				// 题目难度编号
	private Short num;				// 数量
	private Float point;			// 分值
	private Boolean deleted = false;
	
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	@Column
	public Integer getCode() {
		return code;
	}
	@Column
	public Integer getTtc() {
		return ttc;
	}
	@Column
	public Byte getType() {
		return type;
	}
	@Column
	public Integer getLc() {
		return lc;
	}
	@Column
	public Short getNum() {
		return num;
	}
	@Column
	public Float getPoint() {
		return point;
	}
	@Column
	public Boolean getDeleted() {
		return deleted;
	}
	
	
	
	public void setCode(Integer code) {
		this.code = code;
	}
	public void setTtc(Integer ttc) {
		this.ttc = ttc;
	}
	public void setType(Byte type) {
		this.type = type;
	}
	public void setNum(Short num) {
		this.num = num;
	}
	public void setPoint(Float point) {
		this.point = point;
	}
	public void setLc(Integer lc) {
		this.lc = lc;
	}
	public void setDeleted(Boolean deleted) {
		this.deleted = deleted;
	}
}
